<%--
  Created by IntelliJ IDEA.
  User: 刘敏
  Date: 2024/3/18
  Time: 14:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false"%>
<html>
<head>
    <title>用户登录</title>
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.css">
    <script type="text/javascript" src="/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/js/bootstrap.js"></script>
</head>
<body>
<br>
<br>
<form class="form-horizontal" role="form" method="post" action="/user/login.do">
    <div class="form-group">
        <label for="username" class="col-sm-2 control-label">用户名</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" id="username" placeholder="请输入用户名"  name="username" required>
        </div>
        <div class="col-sm-4">
            <span style="color: red">${login_msg}</span>
        </div>
    </div>

    <div class="form-group">
        <label for="password" class="col-sm-2 control-label">密  码</label>
        <div class="col-sm-6">
            <input type="password" class="form-control" id="password" placeholder="请输入密码"  name="password" required>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-5 col-sm-7">
            <button type="submit" class="btn btn-default">登录</button>
        </div>
    </div>
    <div class="form-group">
    <div class="col-sm-offset-5 col-sm-7">
        <button type="button" class="btn btn-default" onclick="location.href='/user/tonewuser.do'">注册</button>
    </div>
</div>
</form>


</body>
</html>
